package com.zxl.service.feign;

import com.zxl.vo.Goods;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(
        value = "goods",
        path = "/goods"
)
public interface GoodsFeign {

    @RequestMapping("/list")
    List<Goods> list();
}
